<template>
  <NstdTabs type="border-card" class="demo-tabs">
    <NstdTabPane>
      <template #label>
        <span class="custom-tabs-label">
          <el-icon><calendar /></el-icon>
          <span>Route</span>
        </span>
      </template>
      Route
    </NstdTabPane>
    <NstdTabPane label="Config">Config</NstdTabPane>
    <NstdTabPane label="Role">Role</NstdTabPane>
    <NstdTabPane label="Task">Task</NstdTabPane>
  </NstdTabs>
</template>

<script lang="ts" setup>
import { Calendar } from '@element-plus/icons-vue'
</script>
<style>
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 32px;
  font-weight: 600;
}
.demo-tabs .custom-tabs-label .el-icon {
  vertical-align: middle;
}
.demo-tabs .custom-tabs-label span {
  vertical-align: middle;
  margin-left: 4px;
}
</style>
